from tipsz8 import saveLocalData, loadLocalData, clear_cache, getFileUTime

allshop = loadLocalData("shop.json") or []
arr = []
arru = []
for shop in allshop:
    u = shop.get("gpu类型", "")
    if u == "":
        arr.append(shop)
    else:
        arru.append(shop)
saveLocalData(arr, 'shop_no_gpu.json')
saveLocalData(arru, 'shop_with_gpu.json')